import request from '@/utils/request'


//获取留言表
export function listMessage(query) {
  return request({
    url: '/student/message/list',
    method: 'get',
    params: query
  })
}

//提交留言
export function addMessage(data) {
  return request({
    url: '/student/message/add',
    method: 'post',
    data: data
  })
}


